package com.sit.service;

import com.sit.entity.AddAthlete;
import com.sit.entity.Athlete;
import com.sit.vo.CaVO;
import com.sit.vo.DataVO;
import org.springframework.web.bind.annotation.RequestParam;

public interface CaService {
    public DataVO<CaVO> findData(Integer page, Integer limit);

    public boolean deleteAthlete(String ano, String cnoA);

    public boolean updateAthlete(AddAthlete addAthlete,String cnA_new);

    public DataVO<CaVO> search(String ano,String cnA,Integer page, Integer limit);

    public boolean editScore(String ano,String cnoA,Integer rank,String score);
}
